﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;



namespace SvOtchet.page
{
    public partial class UserFormSave : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Master.Page.Title = "Система сводной отчетности / Форма 1-ПС";
           
            // название пользователя
           // object obj = new SvOtchet.page.WebForm1();

            object rrr = this.HiddenField1.Value;
            object boj = this.CurrentUserFS.Value;
            Guid userid = new Guid(CurrentUserFS.Value);
            SvOtchet.DataModel.sp.NameOfOkrug2TableAdapters.QueriesTableAdapter name = new SvOtchet.DataModel.sp.NameOfOkrug2TableAdapters.QueriesTableAdapter();

            string res = "";
            object res2 = name.NameOfOkrug(userid, ref res);
            if (res == null)
            {
                okrugName.Text = "";
            }
            else
            {
                okrugName.Text = res.ToString();
            }

            
           
        }
    }
}
